package com.brower.project.ui.activity

import androidx.navigation.findNavController
import com.google.android.material.bottomnavigation.BottomNavigationView
import androidx.navigation.ui.setupWithNavController
import com.brower.project.R
import com.brower.project.base.BaseActivity
import com.brower.project.base.NormalViewModel
import com.brower.project.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding, NormalViewModel>() {
    override fun layoutId() = R.layout.activity_main
    override fun initView() {
        super.initView()
        val navView: BottomNavigationView = mBinding!!.navView
        val navController = findNavController(R.id.nav_host_fragment_activity_main)
        navView.setupWithNavController(navController)
    }

}